package com.books.service.essearch;


import java.util.List;

/**
 * @author ZhouRui
 * @title: 码上就来
 * @projectName cbstore-spring-boot
 * @description: TODO
 * @date 2021/10/3014:27
 */
public interface RecommendService {
    //基于用户的商品推荐
    List<Integer> getRecommendItemsByUser(Integer userId, Integer howMany);
    //基于内容的商品推荐
    List<Integer> getRecommendItemsByItem(Integer userId, Integer itemId, Integer howMany);
}
